package cn.dxh.stagefinal.service;

import cn.dxh.stagefinal.bean.Employee;
import cn.dxh.stagefinal.bean.Order;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;

public interface OrderService {
    //查询所有订单
    PageInfo<Order> findAll(Integer pageindex, Integer size, String
            ordernum, String source, String orderdate,String username,Integer state);

    Order getOne(Integer orderid);

    List<Employee> finddelivery();

    Integer choose(String eName, Integer orderid);

    Integer sendgoods(Integer orderid,Integer orderstate);

    PageInfo<Order> findsend(Integer pageindex, int pageSize, String ordernum, String source, String orderdate, String username, Integer[] orderstate,String deliveryman);

    Integer chooseids(String eName, Integer[] orderids);

    Employee getRole(Integer eid);

    List<Order> export();
}
